package com.lwc.bean;


import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@ApiModel("用户表")
@Data
@TableName("admin_user")
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {

    @TableId( type = IdType.AUTO)
@ApiModelProperty("id")
    Long id;
    @ApiModelProperty("名称")

    String name;
    @ApiModelProperty("年龄")
    Integer  age;

    @TableField(value = "email",select = false)
    @ApiModelProperty("邮箱")
    String emaaaail;

    @TableField(exist = false)
  int status ;

    @TableLogic
    Integer isdel;
    @ApiModelProperty("版本号")
    @Version
    Integer version;
    @ApiModelProperty("余额")
    Double balance;
}
